package org.yty.travelagencyredis.Dao;

import org.yty.travelagencyredis.model.Entity.ScenicSpot;

import java.util.List;

public interface ScenicSpotDao {
    List<ScenicSpot> selectAll();

    ScenicSpot selectById(Long id);

    boolean updateById(ScenicSpot scenicSpot);

    boolean insert(ScenicSpot scenicSpot);

    void deleteById(Long id);
}
